AliNext_Lite\Woocommerce D

Total Complexity 694
Dependencies 21
Dependents 13
Total lines 2,692
Lines of code 2,070
Logical lines of code 1,182
Comment lines 146
Methods 36
Properties 6

Methods 36

Method Rating Maintainability Complexity Lines of code
add_variation()
D
0
228 614
add_product()
D
3
123 341
upd_product()
D
7
112 293
get_product_by_post_id()
C
32 30 98
set_images()
C
38 24 64
build_description()
B
39 19 57
prepare_product_images()
B
45 20 39
getProductVariations()
A
41 15 51
buildCategories()
A
47 11 36
build_steps()
A
49 11 29
save_tracking_code()
A
44 9 46
get_sorted_products_ids()
A
45 9 41
get_fulfilled_orders_data()
A
47 8 38
set_attributes()
A
47 8 35
update_price()
S
49 6 32
switchOrderStatus()
S
58 7 17
delete_external_order_id()
S
54 6 21
need_import_variations()
S
62 7 10
generateVariationTitle()
S
57 5 17
addCategory()
S
54 4 23
build_categories_tree()
S
59 4 14
get_product_external_id()
S
61 4 12
get_product_tags()
S
58 3 16
is_woocommerce_installed()
S
64 4 9
fix_format_of_original_variations_attributes()
S
63 4 10
get_products_ids()
S
56 2 19
get_categories()
S
60 2 14
get_fulfilled_orders_count()
S
58 1 17
getProductIdByExternalSkuId()
S
62 1 12
__construct()
S
69 1 7
get_product_id_by_import_id()
S
65 1 10
get_product_id_by_external_id()
S
65 1 10
isManagedStock()
S
79 1 3
get_products_count()
S
70 1 6
is_product_exist()
S
74 1 4
changeProductType()
S
73 1 5